package dyyx.util;

public abstract class EchoUtil {

	
	public static final String X = "X";
	
	public static volatile long sleepTime = 0;

	
	public static String getEchoString() {
		StringBuilder sb = new StringBuilder();

		sb.append(System.currentTimeMillis()).append("_");
		sb.append(HostInfoUtil.getHostIp()).append("_");
		sb.append(WebUtil.getWebRootDir()).append("_");


		for (int i = 0; i < AppConfigUtil.echoSize; i++) {
			sb.append(X);
		}
		
		WebUtil.doSleep(sleepTime);

		return sb.toString();

	}
	
	
	
	

}
